﻿using OpenReflect.Domain.Contracts;

namespace OpenReflect.Domain.Model.CodeStructure
{
	public class MemberExpression : Expression
	{
		public MemberExpression(Expression source, IMember m) : base(ExpressionType.MemberAccessExpression)
		{
			Source = source;
			Member = m;
		}

		public Expression Source { get; private set; }
		public IMember Member { get; private set; }
	}
}